package com.vhall.component.entity.anchors;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 主播表
 *
 * @TableName anchor_manage
 */
@TableName(value = "anchor_manage")
@Data
public class AnchorManageEntity implements Serializable {
    /**
     * 主播id
     */
    @TableId(value = "anchor_id", type = IdType.AUTO)
    private Integer anchorId;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 讲师角标
     */
    @TableField(value = "corner_mark")
    private String cornerMark;

    /**
     * 执业编号
     */
    @TableField(value = "career_id")
    private String careerId;

    /**
     * 讲师简介
     */
    @TableField(value = "trainer_introduction")
    private String trainerIntroduction;

    /**
     * 企业微信二维码
     */
    @TableField(value = "qr_code")
    private String qrCode;

    /**
     * 直播场次
     */
    @TableField(value = "live_streaming_sessions")
    private Integer liveStreamingSessions;

    /**
     * 累计浏览量
     */
    @TableField(value = "accumulated_views")
    private Integer accumulatedViews;

    /**
     * 是否推荐 默认不推荐 >0|不推荐,1|推荐
     */
    @TableField(value = "recommend")
    private Integer recommend;

    /**
     * 是否已删除 0 表示未删除 1 表示已删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 更新时间
     */
    @TableField(value = "updated_at")
    private LocalDateTime updatedAt;

    /**
     * 新建时间
     */
    @TableField(value = "created_at")
    private LocalDateTime createdAt;

    /**
     * 头像底色
     */
    @TableField(value = "back_color_of_head")
    private Integer backColorOfHead;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}